package patterns.structures.bridge.coffee;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		MilkSingleton ms = new MilkSingleton(new SweetMilk());

		Coffee coffee = new MiddleCoffee();
		coffee.addMilk();
		System.out.println("==========");
		coffee = new BigCoffee();
		coffee.addMilk();
		System.out.println("==========");
		ms = new MilkSingleton(new SourMilk());
		coffee = new MiddleCoffee();
		coffee.addMilk();

		System.out.println("==========");
		coffee = new BigCoffee();
		coffee.addMilk();
	}

}
